package com.itheima.wms.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.wms.common.service.CrudServiceImpl;
import com.itheima.wms.dao.OwnerStrategyMapper;
import com.itheima.wms.entity.OwnerStrategyEntity;
import com.itheima.wms.service.OwnerStrategyService;
import com.itheima.wms.vo.OwnerStrategyDetailVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Map;


/**
 * <p>
 * 业务实现类
 * 货主-策略关联表
 * </p>
 */
@Slf4j
@Service
public class OwnerStrategyServiceImpl extends CrudServiceImpl<OwnerStrategyMapper, OwnerStrategyEntity> implements OwnerStrategyService {


    @Override
    public IPage<OwnerStrategyDetailVO> pageDetail(Page<OwnerStrategyDetailVO> page, Map data) {
        IPage<OwnerStrategyDetailVO> iPage = this.baseMapper.selectOwnerStrategyDetail(page, data);
        return iPage;
    }
}

